# -*- coding: utf-8 -*-

################################################################################
## Form generated from reading UI file 'printer_dialog.ui'
##
## Created by: Qt User Interface Compiler version 6.9.1
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################

from PySide6.QtCore import (QCoreApplication, QDate, QDateTime, QLocale,
    QMetaObject, QObject, QPoint, QRect,
    QSize, QTime, QUrl, Qt)
from PySide6.QtGui import (QBrush, QColor, QConicalGradient, QCursor,
    QFont, QFontDatabase, QGradient, QIcon,
    QImage, QKeySequence, QLinearGradient, QPainter,
    QPalette, QPixmap, QRadialGradient, QTransform)
from PySide6.QtWidgets import (QApplication, QComboBox, QDialog, QDoubleSpinBox,
    QFormLayout, QFrame, QHBoxLayout, QLabel,
    QLayout, QPushButton, QSizePolicy, QSpinBox,
    QWidget)

class Ui_Dialog(object):
    def setupUi(self, Dialog):
        if not Dialog.objectName():
            Dialog.setObjectName(u"Dialog")
        Dialog.resize(498, 473)
        sizePolicy = QSizePolicy(QSizePolicy.Policy.Fixed, QSizePolicy.Policy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(Dialog.sizePolicy().hasHeightForWidth())
        Dialog.setSizePolicy(sizePolicy)
        Dialog.setContextMenuPolicy(Qt.ContextMenuPolicy.DefaultContextMenu)
        Dialog.setModal(True)
        self.formLayout = QFormLayout(Dialog)
        self.formLayout.setObjectName(u"formLayout")
        self.formLayout.setSizeConstraint(QLayout.SizeConstraint.SetFixedSize)
        self.formLayout.setFieldGrowthPolicy(QFormLayout.FieldGrowthPolicy.AllNonFixedFieldsGrow)
        self.formLayout.setRowWrapPolicy(QFormLayout.RowWrapPolicy.DontWrapRows)
        self.label_4 = QLabel(Dialog)
        self.label_4.setObjectName(u"label_4")

        self.formLayout.setWidget(0, QFormLayout.ItemRole.LabelRole, self.label_4)

        self.horizontalLayout = QHBoxLayout()
        self.horizontalLayout.setObjectName(u"horizontalLayout")
        self.printer_combo_box = QComboBox(Dialog)
        self.printer_combo_box.setObjectName(u"printer_combo_box")
        sizePolicy1 = QSizePolicy(QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Fixed)
        sizePolicy1.setHorizontalStretch(0)
        sizePolicy1.setVerticalStretch(0)
        sizePolicy1.setHeightForWidth(self.printer_combo_box.sizePolicy().hasHeightForWidth())
        self.printer_combo_box.setSizePolicy(sizePolicy1)
        self.printer_combo_box.setMinimumSize(QSize(250, 0))

        self.horizontalLayout.addWidget(self.printer_combo_box)

        self.open_printer_config_button = QPushButton(Dialog)
        self.open_printer_config_button.setObjectName(u"open_printer_config_button")

        self.horizontalLayout.addWidget(self.open_printer_config_button)

        self.pushButton_2 = QPushButton(Dialog)
        self.pushButton_2.setObjectName(u"pushButton_2")
        icon = QIcon(QIcon.fromTheme(QIcon.ThemeIcon.HelpFaq))
        self.pushButton_2.setIcon(icon)
        self.pushButton_2.setCheckable(False)

        self.horizontalLayout.addWidget(self.pushButton_2)


        self.formLayout.setLayout(0, QFormLayout.ItemRole.FieldRole, self.horizontalLayout)

        self.label = QLabel(Dialog)
        self.label.setObjectName(u"label")

        self.formLayout.setWidget(1, QFormLayout.ItemRole.LabelRole, self.label)

        self.paper_width_spin_box = QSpinBox(Dialog)
        self.paper_width_spin_box.setObjectName(u"paper_width_spin_box")
        self.paper_width_spin_box.setMaximum(2147483647)

        self.formLayout.setWidget(1, QFormLayout.ItemRole.FieldRole, self.paper_width_spin_box)

        self.label_2 = QLabel(Dialog)
        self.label_2.setObjectName(u"label_2")

        self.formLayout.setWidget(2, QFormLayout.ItemRole.LabelRole, self.label_2)

        self.paper_height_spin_box = QSpinBox(Dialog)
        self.paper_height_spin_box.setObjectName(u"paper_height_spin_box")
        self.paper_height_spin_box.setMaximum(2147483647)

        self.formLayout.setWidget(2, QFormLayout.ItemRole.FieldRole, self.paper_height_spin_box)

        self.label_3 = QLabel(Dialog)
        self.label_3.setObjectName(u"label_3")

        self.formLayout.setWidget(3, QFormLayout.ItemRole.LabelRole, self.label_3)

        self.printer_dpi_spin_box = QSpinBox(Dialog)
        self.printer_dpi_spin_box.setObjectName(u"printer_dpi_spin_box")
        self.printer_dpi_spin_box.setMaximum(2147483647)

        self.formLayout.setWidget(3, QFormLayout.ItemRole.FieldRole, self.printer_dpi_spin_box)

        self.line = QFrame(Dialog)
        self.line.setObjectName(u"line")
        self.line.setFrameShape(QFrame.Shape.HLine)
        self.line.setFrameShadow(QFrame.Shadow.Sunken)

        self.formLayout.setWidget(4, QFormLayout.ItemRole.SpanningRole, self.line)

        self.label_5 = QLabel(Dialog)
        self.label_5.setObjectName(u"label_5")

        self.formLayout.setWidget(5, QFormLayout.ItemRole.LabelRole, self.label_5)

        self.name_font_size_spin_box = QDoubleSpinBox(Dialog)
        self.name_font_size_spin_box.setObjectName(u"name_font_size_spin_box")

        self.formLayout.setWidget(5, QFormLayout.ItemRole.FieldRole, self.name_font_size_spin_box)

        self.label_6 = QLabel(Dialog)
        self.label_6.setObjectName(u"label_6")

        self.formLayout.setWidget(6, QFormLayout.ItemRole.LabelRole, self.label_6)

        self.type_font_size_spin_box = QDoubleSpinBox(Dialog)
        self.type_font_size_spin_box.setObjectName(u"type_font_size_spin_box")

        self.formLayout.setWidget(6, QFormLayout.ItemRole.FieldRole, self.type_font_size_spin_box)

        self.label_7 = QLabel(Dialog)
        self.label_7.setObjectName(u"label_7")

        self.formLayout.setWidget(8, QFormLayout.ItemRole.LabelRole, self.label_7)

        self.formLayout_2 = QFormLayout()
        self.formLayout_2.setObjectName(u"formLayout_2")
        self.label_8 = QLabel(Dialog)
        self.label_8.setObjectName(u"label_8")

        self.formLayout_2.setWidget(0, QFormLayout.ItemRole.LabelRole, self.label_8)

        self.code_barcode_height_spin_box = QDoubleSpinBox(Dialog)
        self.code_barcode_height_spin_box.setObjectName(u"code_barcode_height_spin_box")

        self.formLayout_2.setWidget(0, QFormLayout.ItemRole.FieldRole, self.code_barcode_height_spin_box)

        self.label_10 = QLabel(Dialog)
        self.label_10.setObjectName(u"label_10")

        self.formLayout_2.setWidget(1, QFormLayout.ItemRole.LabelRole, self.label_10)

        self.code_module_height_spin_box = QDoubleSpinBox(Dialog)
        self.code_module_height_spin_box.setObjectName(u"code_module_height_spin_box")

        self.formLayout_2.setWidget(1, QFormLayout.ItemRole.FieldRole, self.code_module_height_spin_box)

        self.label_11 = QLabel(Dialog)
        self.label_11.setObjectName(u"label_11")

        self.formLayout_2.setWidget(3, QFormLayout.ItemRole.LabelRole, self.label_11)

        self.code_text_distance_spin_box = QDoubleSpinBox(Dialog)
        self.code_text_distance_spin_box.setObjectName(u"code_text_distance_spin_box")

        self.formLayout_2.setWidget(3, QFormLayout.ItemRole.FieldRole, self.code_text_distance_spin_box)

        self.label_9 = QLabel(Dialog)
        self.label_9.setObjectName(u"label_9")

        self.formLayout_2.setWidget(4, QFormLayout.ItemRole.LabelRole, self.label_9)

        self.code_font_size_spin_box = QDoubleSpinBox(Dialog)
        self.code_font_size_spin_box.setObjectName(u"code_font_size_spin_box")

        self.formLayout_2.setWidget(4, QFormLayout.ItemRole.FieldRole, self.code_font_size_spin_box)

        self.label_13 = QLabel(Dialog)
        self.label_13.setObjectName(u"label_13")

        self.formLayout_2.setWidget(2, QFormLayout.ItemRole.LabelRole, self.label_13)

        self.code_unit_width_spin_box = QDoubleSpinBox(Dialog)
        self.code_unit_width_spin_box.setObjectName(u"code_unit_width_spin_box")

        self.formLayout_2.setWidget(2, QFormLayout.ItemRole.FieldRole, self.code_unit_width_spin_box)


        self.formLayout.setLayout(8, QFormLayout.ItemRole.FieldRole, self.formLayout_2)

        self.print_preview_button = QPushButton(Dialog)
        self.print_preview_button.setObjectName(u"print_preview_button")

        self.formLayout.setWidget(10, QFormLayout.ItemRole.SpanningRole, self.print_preview_button)

        self.printer_auto_config_button = QPushButton(Dialog)
        self.printer_auto_config_button.setObjectName(u"printer_auto_config_button")

        self.formLayout.setWidget(11, QFormLayout.ItemRole.SpanningRole, self.printer_auto_config_button)

        self.horizontalLayout_5 = QHBoxLayout()
        self.horizontalLayout_5.setObjectName(u"horizontalLayout_5")
        self.cancel_button = QPushButton(Dialog)
        self.cancel_button.setObjectName(u"cancel_button")

        self.horizontalLayout_5.addWidget(self.cancel_button)

        self.save_button = QPushButton(Dialog)
        self.save_button.setObjectName(u"save_button")

        self.horizontalLayout_5.addWidget(self.save_button)


        self.formLayout.setLayout(13, QFormLayout.ItemRole.SpanningRole, self.horizontalLayout_5)

        self.label_12 = QLabel(Dialog)
        self.label_12.setObjectName(u"label_12")

        self.formLayout.setWidget(7, QFormLayout.ItemRole.LabelRole, self.label_12)

        self.margin_spin_box = QDoubleSpinBox(Dialog)
        self.margin_spin_box.setObjectName(u"margin_spin_box")

        self.formLayout.setWidget(7, QFormLayout.ItemRole.FieldRole, self.margin_spin_box)


        self.retranslateUi(Dialog)

        QMetaObject.connectSlotsByName(Dialog)
    # setupUi

    def retranslateUi(self, Dialog):
        Dialog.setWindowTitle(QCoreApplication.translate("Dialog", u"\u6253\u5370\u673a\u914d\u7f6e", None))
        self.label_4.setText(QCoreApplication.translate("Dialog", u"\u6253\u5370\u673a", None))
        self.open_printer_config_button.setText(QCoreApplication.translate("Dialog", u"\u6253\u5f00\u914d\u7f6e\u9875", None))
        self.pushButton_2.setText("")
        self.label.setText(QCoreApplication.translate("Dialog", u"\u7eb8\u5bbd", None))
        self.label_2.setText(QCoreApplication.translate("Dialog", u"\u7eb8\u9ad8", None))
        self.label_3.setText(QCoreApplication.translate("Dialog", u"dpi", None))
        self.label_5.setText(QCoreApplication.translate("Dialog", u"\u540d\u5b57\u5b57\u4f53\u5927\u5c0f\uff08%\uff09", None))
        self.label_6.setText(QCoreApplication.translate("Dialog", u"\u7c7b\u578b\u5b57\u4f53\u5927\u5c0f\uff08%\uff09", None))
        self.label_7.setText(QCoreApplication.translate("Dialog", u"\u6761\u5f62\u7801", None))
        self.label_8.setText(QCoreApplication.translate("Dialog", u"\u603b\u9ad8\u5ea6\uff08%\uff09", None))
        self.label_10.setText(QCoreApplication.translate("Dialog", u"\u6761\u7801\u9ad8\u5ea6\uff08%\uff09", None))
        self.label_11.setText(QCoreApplication.translate("Dialog", u"\u6587\u672c\u8ddd\u79bb\uff08%\uff09", None))
        self.label_9.setText(QCoreApplication.translate("Dialog", u"\u6587\u672c\u5927\u5c0f\uff08%\uff09", None))
        self.label_13.setText(QCoreApplication.translate("Dialog", u"\u6761\u7801\u5355\u4f4d\u5bbd\u5ea6\uff08mm\uff09", None))
        self.print_preview_button.setText(QCoreApplication.translate("Dialog", u"\u6253\u5370\u9884\u89c8", None))
        self.printer_auto_config_button.setText(QCoreApplication.translate("Dialog", u"\u81ea\u52a8\u914d\u7f6e", None))
        self.cancel_button.setText(QCoreApplication.translate("Dialog", u"\u53d6\u6d88", None))
        self.save_button.setText(QCoreApplication.translate("Dialog", u"\u4fdd\u5b58", None))
        self.label_12.setText(QCoreApplication.translate("Dialog", u"\u8fb9\u8ddd\uff08%\uff09", None))
    # retranslateUi

